package com.cg.service;

import com.cg.dto.*;
import com.cg.entity.Inheritor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cg.result.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
public interface IInheritorService extends IService<Inheritor> {
    R addInheritor(AddInheritorDTO addInheritorDTO);

    R updateInheritor(UpdateInheritorDTO updateInheritorDTO);

    R<List<Inheritor>> searchInheritorByCondition(SearchInheritorDTO searchInheritorDTO);

    R getInheritorDetail(Long inheritorId);

    R addLike(AddLikeDTO addLikeDTO);

    String selectContentById(Long inheritorId);

}
